package com.book.bridge.function;

import com.book.pojo.UserInfo;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;

/**
 * @param
 * @author oyz
 * @version 1.0.4
 * @description: 桥接模式第三方登录改造
 * @date 2023/10/31 20:57
 */
public interface RegisterLoginFunctionInterface {



    String login(String account,String password);

    String register(@RequestBody UserInfo info);

    boolean checkUserExists(String userName);

    String login3Rd(HttpServletRequest request);

}
